# 过滤器：过滤排行样式
def rank_class(index):
    if index==1:
        return 'first'
    elif index==2:
        return 'second'
    elif index==3:
        return 'third'
    else:
        return ''